#pragma once

#include <QDialog>
#include "ui_WinDialog.h"

namespace qtangram {
    class WinDialog : public QDialog, private Ui_WinDialog {
	Q_OBJECT
    public:
	WinDialog(QWidget* parent);
	void setText(const QString& text) { label->setText(text); }
    private slots:
	void onOkClicked();
	void onAgainClicked();
    signals:
	void sigOkClicked();
	void sigAgainClicked();
    };
}
